package com.mybatis.basic.entity;

import com.alibaba.fastjson.JSONObject;

//数据对象
public class AjaxJson {
	
	//操作成功/失败
	private Boolean success = false;
	//成功/失败信息
	private String msg = "";
	//对象
	private Object obj = "";
	//其他信息
	private Object other = "";

	public Boolean getSuccess() {
		return success;
	}
	public void setSuccess(Boolean success) {
		this.success = success;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public Object getObj() {
		return obj;
	}
	public void setObj(Object obj) {
		this.obj = obj;
	}
	public Object getOther() {
		return other;
	}
	public void setOther(Object other) {
		this.other = other;
	}

	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}
	
}
